package com.ag.promanagement.control;

import com.ag.promanagement.Users;

import java.math.BigDecimal;

import java.util.*;
import java.util.Date;
import java.util.List;
import java.util.Set;


/**
 *
 * @author Zathura Code Generator http://code.google.com/p/zathura
 *
 */
public interface IUsersLogic {
    public List<Users> getUsers() throws Exception;

    public void saveUsers(Long cellNumber, Long documentId, String email,
        String firstName, Long id, String lastName, String login,
        String password, Long id_CargoType, Long id_DocumentType,
        Long id_UserType) throws Exception;

    public void deleteUsers(Long id) throws Exception;

    public void updateUsers(Long cellNumber, Long documentId, String email,
        String firstName, Long id, String lastName, String login,
        String password, Long id_CargoType, Long id_DocumentType,
        Long id_UserType) throws Exception;

    public Users getUsers(Long id) throws Exception;

    public List<Users> findByCriteria(Object[] variables,
        Object[] variablesBetween, Object[] variablesBetweenDates)
        throws Exception;

    public List<Users> findPageUsers(String sortColumnName,
        boolean sortAscending, int startRow, int maxResults)
        throws Exception;

    public Long findTotalNumberUsers() throws Exception;
}
